
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Plug-in toolbars</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp38.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp40.htm" >Next</A>
<!-- End Header -->
<A NAME="CEGJEHAI"></A><h1>Plug-in toolbars</h1>
<A NAME="TI1220"></A><h4>PowerBars
and PainterBars</h4>
<A NAME="TI1221"></A><p>The PowerDesigner View toolbar is named PowerBar2 in the plug-in
and the PowerDesigner Repository toolbar is named PowerBar3. A PowerBar
is always present by default in a PowerBuilder session, even when
a plug-in painter is not open. PainterBars display only when the
current PowerBuilder painter is a class diagram.</p>
<A NAME="TI1222"></A><p><A HREF="pbugp39.htm#CACHCFJG">Table 4-3</A> shows
the names of PowerDesigner toolbars supported by the plug-in and
their corresponding names in the PowerBuilder user interface.</p>
<A NAME="CACHCFJG"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 4-3: Plug-in names for PowerDesigner
toolbars</caption>
<tr><th  rowspan="1"  ><A NAME="TI1223"></A>Plug-in toolbar</th>
<th  rowspan="1"  ><A NAME="TI1224"></A>Corresponding PowerDesigner toolbar</th>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1225"></A>PainterBar1</td>
<td  rowspan="1"  ><A NAME="TI1226"></A>Standard</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1227"></A>PainterBar2</td>
<td  rowspan="1"  ><A NAME="TI1228"></A>Diagram</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1229"></A>PainterBar3</td>
<td  rowspan="1"  ><A NAME="TI1230"></A>Palette</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1231"></A>PainterBar4</td>
<td  rowspan="1"  ><A NAME="TI1232"></A>PowerBuilder</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1233"></A>PowerBar2</td>
<td  rowspan="1"  ><A NAME="TI1234"></A>View </td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI1235"></A>PowerBar3</td>
<td  rowspan="1"  ><A NAME="TI1236"></A>Repository</td>
</tr>
</table>
<A NAME="TI1237"></A><p><A HREF="pbugp39.htm#CACBBHAA">Figure 4-5</A> shows
the Palette toolbar in the plug-in. Other PowerDesigner toolbars
are not currently supported by the PowerDesigner plug-in.</p>
<A NAME="CACBBHAA"></A><caption><b>Figure 4-5: PowerDesigner palette toolbar
in the plug-in</b></captionls>
<br><img src="images/pdtool1.gif">
<A NAME="TI1238"></A><h4>Toolbar differences</h4>
<A NAME="TI1239"></A><p>When you add classes to the class diagram using the plug-in's
PainterBar4 (PowerBuilder) toolbar, default properties are automatically
assigned to the new classes. If you add the same classes using the
PowerBuilder toolbar in PowerDesigner, default properties are not
assigned. </p>
<A NAME="TI1240"></A><p>The plug-in's PowerBar2 (View) toolbar has an additional
toolbar button that opens the Plug-in Options dialog box. These
options are available for the plug-in, but not for PowerDesigner.
You can also access the Plug-in Options dialog box from the Tools&gt;Plug-in
Options menu when a class diagram has focus.</p>

